package com.zhuoyue.biz.core.api.service.impl.ac;

import lombok.Data;

/**
 * @author wjming
 */
@Data
public class AcInfraredAction {
    private String acAddress;
    /**
     * 开关状态
     */
    private String switchState;
    /**
     * 空调模式
     */
    private String mode;
    /**
     * 风速
     */
    private String speed;
    /**
     * 温度
     */
    private String setTemperature;
    /**
     * 室内温度
     */
    private String indoorTemperature;
    /**
     * 错误码 00无故障
     */
    private String errorCode;

    /**
     * 保存空调红外Action默认值
     *
     * @param acAddress
     * @return
     */
    public AcInfraredAction saveDefaultInfraredAction(String acAddress) {
        this.acAddress = acAddress;
        this.switchState = "02";
        this.mode = "03";
        this.speed = "02";
        this.setTemperature = "18";
        this.indoorTemperature = "25";
        return this;
    }
}
